package com.ayoka.parenting.ui.coach.invitedrecord;

import com.ayoka.parenting.bean.BasicUserInfoBean;
import com.ayoka.parenting.bean.PagerBean;
import com.ayoka.parenting.bean.UserInfoBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

import java.util.List;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: InvitedRecordContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class InvitedRecordContract {

    interface View extends BaseView {
        void configInvitedRecordListData(List<BasicUserInfoBean> data);
    }

    interface Presenter extends BasePresenter<View> {
        void getInvitedRecordListData(boolean isShowWaitDialog, int pageNo, int pageSize);
    }

    interface Model {
        void getInvitedRecordListData(BasePresenter presenter, int pageNo, int pageSize, RequestCallback<List<BasicUserInfoBean>> callback);
    }
}
